package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 好友关系
 *
 * @author 刘聪
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tz_melt_cloud_friend")
@Schema(description = "好友关系")
public class Friend implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "user_id")
    private String userId;

    @TableField(value = "friend_id")
    private String friendId;

    @TableField(value = "create_by")
    private String createBy;

    @TableField(value = "update_by")
    private String updateBy;

    @TableField(value = "create_date")
    private LocalDateTime createDate;

    @TableField(value = "update_date")
    private LocalDateTime updateDate;

    @TableField(value = "message")
    private String message;

    @TableField(value = "remarks")
    private String remarks;

    private Integer delFlag;

}
